#include "AnMainwin.h"
#include "AnGlobal.h"
#include "_SetPhonebookpageCallback.h"

void * _set_contactpage_cb;

void AnMainwin::setContactpage()
{
    _set_contactpage_cb=(void *) new _SetPhonebookpageCallback(this);

    QObject::connect(cp->pushButton_contact_export, SIGNAL(clicked()),
                     (_SetPhonebookpageCallback *) _set_contactpage_cb, SLOT(backup_clicked()));
    QObject::connect(cp->pushButton_contact_import, SIGNAL(clicked()),
                     (_SetPhonebookpageCallback *) _set_contactpage_cb, SLOT(recover_clicked()));
}

